﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CoreCms.Net.Model.ViewModels.DTO
{
    /// <summary>
    /// 
    /// </summary>
    public class GetPromotionResult
    {

        /// <summary>
        /// 序列
        /// </summary>
        public System.Int32 id { get; set; }

        /// <summary>
        /// 促销名称
        /// </summary>
        public System.String name { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public System.Int32 type { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public System.Int32 sort { get; set; }

        /// <summary>
        /// 其它参数
        /// </summary>
        public System.String parameters { get; set; }

        /// <summary>
        /// 每人限购数量
        /// </summary>
        public System.Int32 maxNums { get; set; }

        /// <summary>
        /// 每个商品活动数量
        /// </summary>
        public System.Int32 maxGoodsNums { get; set; }

        /// <summary>
        /// 最大领取数量
        /// </summary>
        public System.Int32 maxRecevieNums { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public System.DateTime startTime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public System.DateTime endTime { get; set; }

        /// <summary>
        /// 是否排他
        /// </summary>
        public System.Boolean isExclusive { get; set; }

        /// <summary>
        /// 是否自动领取
        /// </summary>
        public System.Boolean isAutoReceive { get; set; }

        /// <summary>
        /// 是否开启
        /// </summary>
        public System.Boolean isEnable { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public System.Boolean isDel { get; set; }

        /// <summary>
        /// 有效天数
        /// </summary>
        public System.Int32 effectiveDays { get; set; }

        /// <summary>
        /// 有效小时
        /// </summary>
        public System.Int32 effectiveHours { get; set; }

        /// <summary>
        /// 条件
        /// </summary>
        public List<string> conditions { get; set; }

        /// <summary>
        /// 结果
        /// </summary>
        public List<string> results { get; set; }

    }
}
